package com.itheima.core.dao;
import java.util.List;

import com.itheima.core.po.Vegetable;
/**
 * 用户DAO层接口
 */
public interface VegetableDao {
	
    // 客户列表
	public List<Vegetable> selectVegetableList(Vegetable vegetable);
	// 客户数
	public Integer selectVegetableListCount(Vegetable vegetable);
	
	// 创建客户
	public int createVegetable(Vegetable vegetable);
	// 通过id查询客户
	public Vegetable getVegetableById(String vegetable_id);
	// 更新客户信息
	public int updateVegetable(Vegetable vegetable);
	// 删除客户
	/*int deleteVegetable (String id);*/
	public void deleteVegetable(String vegetable_id);
}
